package com.cloudlibrary.service.impl;


import com.cloudlibrary.domain.User;
import com.cloudlibrary.service.UserService;
import com.cloudlibrary.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
* @author lenove
* @description 针对表【user】的数据库操作Service实现
* @createDate 2024-12-12 14:03:08
*/
@Service
public class UserServiceImpl implements UserService{
    @Autowired
    private UserMapper userMapper;

    @Override
    public User login(User user) {
        return userMapper.login(user);
    }
}




